package com.cyzy.openfeign.impl;

import com.cyzy.dto.ResponseDto;
import com.cyzy.openfeign.DriverOpenFeign;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class DriverOpenFeignImpl implements DriverOpenFeign {

    @Override
    public ResponseDto getDriverType(int driverId) {
        return ResponseDto.ok("降级成功！");
    }

    @Override
    public ResponseDto updateDriverTakingStatus(int driverId,int takingStatus) {
        return ResponseDto.ok("降级成功！");
    }

    @Override
    public ResponseDto automaticOrder(Long orderId) {
        return ResponseDto.ok("降级成功！");
    }
}
